const isFirefox = typeof navigator === 'object' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
export default (element, callback) => {
  element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', callback);
};
